package com.company.cloud.page.modules.api.response;

import com.company.cloud.page.modules.api.models.PageComponentModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class PageComponentResponse {
    @ApiModelProperty(value = "页面组件")
    private PageComponentModel data;

//    public static PageComponentResponse success(PageComponentModel data) {
//        PageComponentResponse result = new PageComponentResponse();
//        result.setReturnCode(BaseReturnEnum.SUCCESS.getCode());
//        result.setReturnMsg(BaseReturnEnum.SUCCESS.getMsg());
//        result.setData(data);
//        return result;
//    }
}
